#pragma once

#include "RectBase.h"

class RectElement;

class RectStatic : public RectBase
{
public:
	RectStatic();
	virtual ~RectStatic();

public:	
	virtual void		Update();
	virtual void		ChangeSize();

	void				Create(RectElement* pRectElement, int nPosX, int nPosY, int nWidth, int nHeight);
	void				SetTexture(const char* pPath);
	void				SetAlpha(float fAlpha)				{ m_fAlpha = fAlpha; }

protected:
	RectElement*		m_pRectElement;	
	float				m_fAlpha;
};